{% extends 'steed_admin/navbar_template.html' %}

{% block title %}
    <title>导航模板</title>
{% endblock %}

{% block project_name %}
    <a class="navbar-brand" href="{% url 'steed_admin:app_index' %}">Steed Admin</a>
{% endblock %}

{% block navbar %}
    <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
            <li><a href="#">About</a></li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="#">Action</a></li>
                    <li role="separator" class="divider"></li>
                    <li class="dropdown-header">Nav header</li>
                    <li><a href="#">Separated link</a></li>
                </ul>
            </li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ request.user.userprofile }}<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="/logout/">注销</a></li>
                </ul>
            </li>
            <li><a href="#">Help</a></li>
        </ul>
    </div>
{% endblock %}


